all files / controllers/ home.js

87.5% Statements 7/8
100% Branches 0/0
75% Functions 3/4
87.5% Lines 7/8
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17                   
/* eslint-disable max-lines */
define(['angular', '../module'], function (angular, mod) {
    'use strict';
 
    mod.controller('basic.home', function ($scope) {
        var vm = this;
        vm.text = "world123";
 
        vm.add = function (a, b) {
            return a + b;
        }
 
        vm.subtract = function(a, b){
            return a - b;
        }
    });
});